package com.twetec.cms.dao.mapper.system;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.twetec.cms.model.po.system.RoleUserPO;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhxl
 * @since 2020-10-12
 */
public interface RoleUserMapper extends BaseMapper<RoleUserPO> {

    @Delete("DELETE FROM SYSTEM_ROLE_USER WHERE USER_ID = ${userId}")
    boolean deleteBuUserId(@Param("userId") Long userId);
}
